<?php
/* @var \Illuminate\Routing\Router $router */
$middlewares = [];
if (class_exists(\Module\Member\Middleware\ApiAuthMiddleware::class)) {
    $middlewares[] = \Module\Member\Middleware\ApiAuthMiddleware::class;
}
$router->group([
    'middleware' => $middlewares,
], function () use ($router) {

    $router->match(['post'], 'department/paginate', 'DepartmentController@paginate');
    $router->match(['post'], 'department/get', 'DepartmentController@get');

});




